package com.atguigu.java2;

public class Order {
		public static void main(String[] args) {
				
				OrderTest order = new OrderTest();
				order.orderDefault = 1;
				order.orderPublic = 2;
				//出了OrderTest类之后，私有的结构就不可调用了。
//				order.orderPrivate = 3;//The field OrderTest.orderPrivate is not visible
				
				order.methodDefault();
				order.methodPublic();
//				order.methodPrivate();//he method methodPrivate() from the type OrderTest is not visible
		}
}
